.navbar-fixed-top {
    left:0px;
    right:0px;
    top:0px;
    line-height: 0px;
}
body {
    margin-top:60px;
}
footer {
    background-color:#00386b;
    min-height:40px;
    text-align:center;
    background-image: url('/website/static/img/circuit-board-background.png');
}


footer .nav > li > a:hover,
footer .nav > li > a:active {
    background:none;
}
html,
body {
    height: 100%;
}
.carousel{
    height: 100% !important;
}

/* Change gallery to half screen and aligned margin-top with navbar (ischwartzman) */
#portalHeader {
    margin-top: -10px;
    min-height: 300px;
    max-height: 600px;
}

/* Reduce the size of the header text in the carousel (ischwartzman) */
#portalHeader .carousel-caption h1 {
    font-size: 55px;
}

/* Reduce the size of the sub-text in the carousel (ischwartzman) */
:L:q.carousel-caption .caption {
    margin-bottom: 20px;
    font-size: 35px;
    line-height: 1.4;
}



#portalHeader .carousel-inner > .item {
    height: 100% !important;
}
#portalHeader .item > .active {
    height: 100% !important;
}

/* Fix stretching of the carousel image and maintain aspect ratio (ischwartzman) */
#portalHeader .carousel-inner .item img {
    height: 100% !important;
    max-height: auto;
    min-width: 100%;
    object-fit: cover;

    /* Also set the image to not blur (ischwartzman */
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -ms-filter: blur(0px);
    filter: blur(0px);
}


.internal-page header.jumbotron {
    background-image: url('/website/static/img/circuit-board-background.png');
    background-position: 0 -100px;
    background-color:#00386b;
}

.panel-group {
    margin-top: 50px;
}

.navbar-brand{
    padding: 10px 10px 40px 10px;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    text-align: center;
}
.navbar-nav {
    float: none;
    display: inline-block;
}

.margin-bottom-2x button {
    width: 100%;
    padding-bottom: 5px;
    border-radius: 2px solid;
}


/* Square off the corners of the top navbar (ischwartzman) */
.navbar-wrapper .navbar {
    border-radius: 0;
}


#navigation ul li ul {
    display:none; 
    -webkit-display:none; 

}
 
#navigation ul li.active ul {
    display:none !important;
    -webkit-display:none !important;

}
 
#navigation ul li.active ul li ul {
    display:block;
    -webkit-display:block;

}
 
#navigation ul li.active ul li.active ul {
    display:block;
    -webkit-display:block;

}
 
#navigation ul li.active ul li.active ul li ul {
    display:none;
    -webkit-display:none;
 
}
 
#navigation ul li.active ul li.active ul li.active ul{
    display:block;
    -webkit-display:block;

}


/* CSS LOADER */

.loader-wrap {
    position: fixed;
    background: #fff;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 1000;
}
loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}
.loader:before,
.loader:after {
  position: absolute;
  content: '';
}
.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #ffffff;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.loader {
  color: #5592ec;
  font-size: 11px;
  text-indent: -99999em;
  margin: auto;
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  position: absolute;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  border-radius: 50%;
}
.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #ffffff;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}
@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


@media (max-width: 768px) {

    .sub-footer {
        background-color: #222;
        color: #fff;
        margin:0;
        padding:10px 0;
    }
    /* Custom Settings*/
    .brand-page .product-alert {
        padding-left: 5%;
        padding-bottom: 20px;
    }
    .brand-page .product-alert p {
        margin:0;
        padding:0;
    }
}

@media (max-width: 768px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }

}


/* Changed colors to match the corporate guidelines from SaraB (ischwartzman) */
.tabbed-slider .carousel-inner .item-0, .tabbed-slider .nav-pills .item-0.active a { background-color: #0072CE; }
.tabbed-slider .carousel-inner .item-1, .tabbed-slider .nav-pills .item-1.active a { background-color: #EAAA00; }
.tabbed-slider .carousel-inner .item-2, .tabbed-slider .nav-pills .item-2.active a { background-color: #9E007E; }
.tabbed-slider .carousel-inner .item-3, .tabbed-slider .nav-pills .item-3.active a { background-color: #BFB800; }
.tabbed-slider .carousel-inner .item-4, .tabbed-slider .nav-pills .item-4.active a { background-color: #00216C; }
.tabbed-slider .carousel-inner .item-5, .tabbed-slider .nav-pills .item-5.active a { background-color: #D22630; }

/* Social footer icons */
#footer-body .nav > li.social-icons > a {
    padding-left:0;
    padding-right: 5px;
}

/* Product Selector Rows */
.ps_list-img-wrap {
    height: 120px;
    border-bottom: 1px solid #ddd;
}
.ps_list-text-wrap {
    min-height: 230px;
    padding: 20px;
}
.ps_list-img-wrap img                      { margin: 0 auto; margin-top: 10px; max-height: 100px;}
.ps_list-text-wrap                         { padding:20px;}
.ps_list-text-wrap h3                      { color:#428bca; font-weight:bold; margin:0;}
.ps_list-text-wrap:hover h3                { color: #3071a9;}
.ps_list-text-wrap h6                      { color:#999; text-transform:uppercase;}
.ps_list-text-wrap p                       { color:#111; line-height:24px;}
